<template>
	<el-dialog title="图片预览" :visible.sync="dialog" :close-on-click-modal="false"  width="820px">
		  <div class="block">
		    <el-image :src="imageUrl">
		      <div slot="placeholder" class="image-slot">
		        加载中<span class="dot">...</span>
		      </div>
		    </el-image>
		  </div>
	</el-dialog>
</template>

<script>
	import {scoreBankList} from '@/api/practice'
	import initData from '@/mixins/initData'
	import { formateDate } from '@/utils/index'
	export default {
	    mixins: [initData],
	    data() {
	        return {
				imageUrl:'',
				dialog:false,
	        }
	    },
		watch: {
		  'imageUrl': {
		    handler: function (newVal, oldVal) {
				this.imageUrl=newVal;
		    },
		    deep: true
		  }
		},
	    methods: {
			
	    }
	}
</script>

<style>
	
</style>